/*
 * Copyright 2022-2029 heshuixing(https://gitee.com/heshuixing)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mercury.ec.framework.air.core.client.impl.skyecho.dto.searchflight;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 查询信息
 *
 * @author hesx
 */
@Data
public class SkyechoAirRespDTO {
    /**
     * 航班日期
     */
    @JsonProperty("date")
    @JsonFormat(pattern = "yyyy.MM.dd")
    private LocalDate date;
    /**
     * 出发城市三字码
     */
    @JsonProperty("depart")
    private String depart;
    /**
     * 出发机场
     */
    @JsonProperty("depart_city")
    private String departCity;
    /**
     * 抵达城市三字码
     */
    @JsonProperty("arrive")
    private String arrive;
    /**
     * 抵达机场
     */
    @JsonProperty("arrive_city")
    private String arriveCity;
    /**
     * 基础运价
     */
    @JsonProperty("base_price")
    private BigDecimal basePrice;
    /**
     * 飞行距离
     */
    @JsonProperty("tpm")
    private Integer tpm;
}
